package com.wtf.dsp.admin.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * ClassName: DbSysConfigDTO
 * Description:
 * date: 2024/9/9 14:10
 *
 * @author linhuanyou
 * @version 1.0
 */
@Data
@ToString
@ApiModel("数据库配置分页请求类")
public class DbConfigPageDTO extends PageDTO{
    @ApiModelProperty(value = "数据库名称")
    @Length(min = 0,max = 20,message = "请输入不超过20个字符")
    private String db;
}
